/*
 *
 * (c) Copyright Ascensio System Limited 2010-2023
 * 
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 * http://www.apache.org/licenses/LICENSE-2.0
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 *
*/


div.advansed-filter label.advansed-filter-state:before{content: " "; position: absolute; width: 7px; height: 7px; border: 2px solid @advfilter-loupe; .borderRadius(7px); top: 1px; left: 1px; }
div.advansed-filter label.advansed-filter-state:after{content: " "; position: absolute; width: 0; height: 6px; border-right: 2px solid @advfilter-loupe; top: 9px; left: 11px; .rotateTransform(135deg); }


div.advansed-filter label.advansed-filter-sort{ background:url("@{img-change-url}advfilter-icons.png") -2px -70px no-repeat; }
div.advansed-filter div.advansed-filter-sort-container span.btn-toggle-sorter{background:url("@{img-change-url}advfilter-icons.png") -2px -40px no-repeat; }
div.advansed-filter div.advansed-filter-helper label.advansed-filter-helper-label { background:url("@{img-change-url}advfilter-icons.png") -3px 0 no-repeat; }

div.advansed-filter-container div.advansed-filter-filters div.btn-show-hidden-filters,
div.advansed-filter-container div.advansed-filter-filters div.filter-item{background-color:@advfilter-combobox-bkgd; }

div.advansed-filter-container div.advansed-filter-filters div.filter-item span.btn-delete{display:block; height:16px; line-height:16px; width:16px; margin:-8px 0 0; position:absolute; right:2px; top:50%; z-index:1; text-align:center; cursor:pointer; font-size: 18px; font-weight: 700; color:@advfilter-combobox-btns;}

div.advansed-filter-container div.advansed-filter-input label.advansed-filter-reset{display:none; width:15px; height:15px; line-height:14px; margin:-8px 0 0; position:absolute; right:-18px; top:50%; z-index:1; cursor:pointer;background-color:@advfilter-reset-btn; .borderRadius(15px); color: @back-ground-text; font-size:18px; font-weight:700; text-align: center;}

div.advansed-filter-container div.advansed-filter-button{.borderRadius(2px);}
div.advansed-filter-container div.advansed-filter-button div.inner-text{position: relative;}
div.advansed-filter-container div.advansed-filter-button div.inner-text:after,
div.advansed-filter-container div.advansed-filter-button div.inner-text:before{top: 50%; border: solid transparent; content: " "; height: 0; width: 0; position: absolute;}

div.advansed-filter-container div.advansed-filter-button div.inner-text:after{border-color: transparent; border-left-color: @advfilter-add-btn-bkgd; border-width: 9px; margin-top: -9px; right: -8px;}
div.advansed-filter-container div.advansed-filter-button div.inner-text:before{border-color: transparent; border-left-color: @adv-filter-button-bor-col; border-width: 10px; margin-top: -10px; right: -10px;}

div.advansed-filter-container div.advansed-filter-button div.inner-text span.text{background-color:@advfilter-add-btn-bkgd; color:@advfilter-add-btn-plus;border: 1px solid @adv-filter-button-bor-col; border-right: 0 none;.borderRadius(2px);}

div.advansed-filter-container span.custom-combobox span.combobox-title:after{border-left: 4px solid transparent; border-right: 4px solid transparent; border-top: 4px solid @advfilter-combobox-btns; content: ""; height: 0; position: absolute; right: 1px; top: 50%; width: 0; margin-top: -1px;}

div.advansed-filter div.advansed-filter-container{border-color: @advansed-filter-container-bor !important;}

div.advansed-filter-container div.advansed-filter-filters div.filter-item span.title {color: @filter-item-span-title !important;}

div.advansed-filter-container div.advansed-filter-filters div.filter-item span.daterange-selector span.label {color: @filter-item-span-title !important;}
div.advansed-filter-container div.advansed-filter-input input {color: @advfilter-color !important;}

div.advansed-filter div.advansed-item-list ul.item-list {background: @advfilter-combobox-bkgd !important; border-color:  @advansed-filter-container-bor !important;}
div.advansed-filter div.advansed-item-list ul.item-list li.item-item.selected { color: @linkColor !important;}

div.advansed-filter div.advansed-filter-sort-container.dsc-sort span.btn-toggle-sorter {
    -webkit-mask-image: url('images/svg/projects/descending.svg');
    mask-image: url('images/svg/projects/descending.svg');
    background: @advansed-filter-hint-after !important;
}
div.advansed-filter div.advansed-filter-sort-container.asc-sort span.btn-toggle-sorter {
    -webkit-mask-image: url('images/svg/projects/ascending.svg');
    mask-image: url('images/svg/projects/ascending.svg');
    background: @advansed-filter-hint-after !important;
}
